package com.roger.springcloudGreenwich.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "consul-provider")
public interface FeignService {

    @RequestMapping(value = "/provider/test" , method = RequestMethod.GET)
    String testClient();

}
